package com.ruoyi.oss.config.param;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

public class FileData {

	@NotNull
//	@Pattern(regexp = "^[\\u4E00-\\u9FA5||0-9||a-zA-Z-_,.，，！!]{1,300}$", message = "文件名称不对")
	private String fileName;
	
	/**
	 * 文件类型
	 */
	@NotNull
	private String type;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
}